package com.project.service;


import com.project.bean.CutPageBean;
import com.project.bean.UserBean;

import java.time.LocalDate;

public interface IUserService {
    public void add(UserBean userBean);

    public void del(Integer id);

    public void updateGrade(Integer id, String grade);

    public void updatePwd(Integer id, String passWord);

    public UserBean login(String userName, String passWord);

    public UserBean findById(Integer id);

    public CutPageBean<UserBean> findByItem(Integer pageNO, String userName, LocalDate startDate, LocalDate endDate);
}
